﻿using System;

namespace Yyd.Security.Permissions
{
    public class PermissionInfo
    {
        /// <summary>
        /// 
        /// </summary>
        public Guid? UserId { get; }

        /// <summary>
        /// 
        /// </summary>
        public string Name { get; }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="userId"></param>
        /// <param name="name"></param>
        public PermissionInfo(Guid? userId, string name)
        {
            UserId = userId;
            Name = name;
        }
    }
}
